<div style="padding: 10px;">
<?php if($booth_product_categories): ?>
  <div style="margin: 0 40px;">
  <?php foreach ($booth_product_categories as $category): ?>
	<div class="row">
	  <span class="pull-left"> <?php echo $category['name']; ?> </span> 
	  <a style="float:right;text-decoration: underline;color: #0088CC;" href="<?php echo base_url("booth/deleteCategory/{$category['id']}"); ?>">Xóa</a>
	</div>
  <?php endforeach; ?>
  </div>
<?php endif; ?>
<br />
<form method="post" class="form-horizontal" action=<?php echo base_url('booth/addProductCategory'); ?>>
  <div class="control-group">
    <label for="name" class="control-label">Danh mục</label>
    <div class="controls">
      <input type=text name=name id=name >
   	</div>
  </div>
  <div class="control-group">
    <div class=controls>
       <input type=hidden name=booth_id id=booth_id value="<?php echo $_GET['booth_id'] ?>"/>
      <button class="btn btn-primary" type=submit value="Lưu thay đổi">Lưu thay đổi</button>
    </div>
  </div>
</form>
</div>
